{* Smarty *}
<div class="box">
	<table cellspacing="0">
		<caption>{t}caption delete section{/t}</caption>
		<tr>
			<th>{t}delete section{/t}</th>
		</tr>
		{if isset($result)}
		<tr>
			<td class="success"><a class="success" href="/sections">{t}node deleted{/t}</a></td>
		</tr>
		{elseif isset($noleaf)}
		<tr>
			<td class="warning"><br/><a class="warning" href="/sections">{t}section not empty{/t}</a><br/>&nbsp;</td>
		</tr>
		{else}
		<tr>
			<td class="warning">{t}warning{/t}</td>
		</tr>
		<tr>
			<td class="noborder">{t}delete node{/t}: <b>{$section.name}</b></td>
		</tr>
		<tr>
      <td class="noborder">
				<input type="button" value="{t}yes{/t}" style="width: 60px;" onclick="location.href='/sections/delete/{$section.id}/true'">
     		<input type="button" value="{t}no{/t}" style="width: 60px;" onclick="location.href='/sections'">
			</td>
		</tr>
		{/if}
	</table>
</div>